package com.jiayang.hhotel.bean;

import java.io.Serializable;
import java.util.List;

import cn.droidlover.xdroidmvp.net.IModel;

/**
 * Created by Administrator on 2017/5/27 0027.
 * 协议客户详情数据类
 */

public class AgreeGuestDetailsModel implements IModel,Serializable {

    /**
     * state : 9
     * info :
     * pTaMainListDto : [{"acct":77,"chnName":"协议客户测试","engName":"","taOrCompany":0,"code":"P20120625111152","addr":"","zip":"","phone":"13691231234","fax":"","webAddr":"","feteDay":"","contactAcct":-1,"bank":"","bankdescp":"","bankId":"","orgDate":"2012-06-25","orgTime":"11:12:45","orgname":"","photoPath":"","comment":"","status":0,"taType":"11","taTypedescp":"11","salerAcct":-1,"salername":"","importance":99,"industryType":"","industrydescp":"","marketCode":"02","marketdescp":"政府机构","area":"01","areadescp":"北京","nation":"CHN","nationdescp":"中国","grpTaAcct":-1,"arAcct":-1,"arAcctdescp":"","grpTxToAr":0,"gstTxToAr":0,"rateCode":"","rateCodedescp":"","payment":""}]
     */

    private int state;
    private String info;
    private List<PTaMainListDtoBean> pTaMainListDto;

    @Override
    public boolean isNull() {
        return false;
    }

    @Override
    public boolean isAuthError() {
        return false;
    }

    @Override
    public boolean isBizError() {
        return false;
    }

    @Override
    public String getErrorMsg() {
        return null;
    }

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }

    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info;
    }

    public List<PTaMainListDtoBean> getPTaMainListDto() {
        return pTaMainListDto;
    }

    public void setPTaMainListDto(List<PTaMainListDtoBean> pTaMainListDto) {
        this.pTaMainListDto = pTaMainListDto;
    }

    public static class PTaMainListDtoBean {
        /**
         * acct : 77
         * chnName : 协议客户测试
         * engName :
         * taOrCompany : 0
         * code : P20120625111152
         * addr :
         * zip :
         * phone : 13691231234
         * fax :
         * webAddr :
         * feteDay :
         * contactAcct : -1
         * bank :
         * bankdescp :
         * bankId :
         * orgDate : 2012-06-25
         * orgTime : 11:12:45
         * orgname :
         * photoPath :
         * comment :
         * status : 0
         * taType : 11
         * taTypedescp : 11
         * salerAcct : -1
         * salername :
         * importance : 99
         * industryType :
         * industrydescp :
         * marketCode : 02
         * marketdescp : 政府机构
         * area : 01
         * areadescp : 北京
         * nation : CHN
         * nationdescp : 中国
         * grpTaAcct : -1
         * arAcct : -1
         * arAcctdescp :
         * grpTxToAr : 0
         * gstTxToAr : 0
         * rateCode :
         * rateCodedescp :
         * payment :
         */

        private int acct;
        private String chnName;
        private String engName;
        private int taOrCompany;
        private String code;
        private String addr;
        private String zip;
        private String phone;
        private String fax;
        private String webAddr;
        private String feteDay;
        private long contactAcct;
        private String bank;
        private String bankdescp;
        private String bankId;
        private String orgDate;
        private String orgTime;
        private String orgname;
        private String photoPath;
        private String comment;
        private int status;
        private String taType;
        private String taTypedescp;
        private long salerAcct;
        private String salername;
        private int importance;
        private String industryType;
        private String industrydescp;
        private String marketCode;
        private String marketdescp;
        private String area;
        private String areadescp;
        private String nation;
        private String nationdescp;
        private int grpTaAcct;
        private int arAcct;
        private String arAcctdescp;
        private int grpTxToAr;
        private int gstTxToAr;
        private String rateCode;
        private String rateCodedescp;
        private String payment;

        public PTaMainListDtoBean(int acct, String chnName, String engName, int taOrCompany, String code, String addr, String zip, String phone, String fax, String webAddr, String feteDay, long contactAcct, String bank, String bankdescp, String bankId, String orgDate, String orgTime, String orgname, String photoPath, String comment, int status, String taType, String taTypedescp, long salerAcct, String salername, int importance, String industryType, String industrydescp, String marketCode, String marketdescp, String area, String areadescp, String nation, String nationdescp, int grpTaAcct, int arAcct, String arAcctdescp, int grpTxToAr, int gstTxToAr, String rateCode, String rateCodedescp, String payment) {
            this.acct = acct;
            this.chnName = chnName;
            this.engName = engName;
            this.taOrCompany = taOrCompany;
            this.code = code;
            this.addr = addr;
            this.zip = zip;
            this.phone = phone;
            this.fax = fax;
            this.webAddr = webAddr;
            this.feteDay = feteDay;
            this.contactAcct = contactAcct;
            this.bank = bank;
            this.bankdescp = bankdescp;
            this.bankId = bankId;
            this.orgDate = orgDate;
            this.orgTime = orgTime;
            this.orgname = orgname;
            this.photoPath = photoPath;
            this.comment = comment;
            this.status = status;
            this.taType = taType;
            this.taTypedescp = taTypedescp;
            this.salerAcct = salerAcct;
            this.salername = salername;
            this.importance = importance;
            this.industryType = industryType;
            this.industrydescp = industrydescp;
            this.marketCode = marketCode;
            this.marketdescp = marketdescp;
            this.area = area;
            this.areadescp = areadescp;
            this.nation = nation;
            this.nationdescp = nationdescp;
            this.grpTaAcct = grpTaAcct;
            this.arAcct = arAcct;
            this.arAcctdescp = arAcctdescp;
            this.grpTxToAr = grpTxToAr;
            this.gstTxToAr = gstTxToAr;
            this.rateCode = rateCode;
            this.rateCodedescp = rateCodedescp;
            this.payment = payment;
        }

        /**
         * 获取字段的数量
         * @return 数量
         */
        public int getCount(){
            return this.getClass().getDeclaredFields().length;
        }

        public int getAcct() {
            return acct;
        }

        public void setAcct(int acct) {
            this.acct = acct;
        }

        public String getChnName() {
            return chnName;
        }

        public void setChnName(String chnName) {
            this.chnName = chnName;
        }

        public String getEngName() {
            return engName;
        }

        public void setEngName(String engName) {
            this.engName = engName;
        }

        public int getTaOrCompany() {
            return taOrCompany;
        }

        public void setTaOrCompany(int taOrCompany) {
            this.taOrCompany = taOrCompany;
        }

        public String getCode() {
            return code;
        }

        public void setCode(String code) {
            this.code = code;
        }

        public String getAddr() {
            return addr;
        }

        public void setAddr(String addr) {
            this.addr = addr;
        }

        public String getZip() {
            return zip;
        }

        public void setZip(String zip) {
            this.zip = zip;
        }

        public String getPhone() {
            return phone;
        }

        public void setPhone(String phone) {
            this.phone = phone;
        }

        public String getFax() {
            return fax;
        }

        public void setFax(String fax) {
            this.fax = fax;
        }

        public String getWebAddr() {
            return webAddr;
        }

        public void setWebAddr(String webAddr) {
            this.webAddr = webAddr;
        }

        public String getFeteDay() {
            return feteDay;
        }

        public void setFeteDay(String feteDay) {
            this.feteDay = feteDay;
        }

        public long getContactAcct() {
            return contactAcct;
        }

        public void setContactAcct(long contactAcct) {
            this.contactAcct = contactAcct;
        }

        public String getBank() {
            return bank;
        }

        public void setBank(String bank) {
            this.bank = bank;
        }

        public String getBankdescp() {
            return bankdescp;
        }

        public void setBankdescp(String bankdescp) {
            this.bankdescp = bankdescp;
        }

        public String getBankId() {
            return bankId;
        }

        public void setBankId(String bankId) {
            this.bankId = bankId;
        }

        public String getOrgDate() {
            return orgDate;
        }

        public void setOrgDate(String orgDate) {
            this.orgDate = orgDate;
        }

        public String getOrgTime() {
            return orgTime;
        }

        public void setOrgTime(String orgTime) {
            this.orgTime = orgTime;
        }

        public String getOrgname() {
            return orgname;
        }

        public void setOrgname(String orgname) {
            this.orgname = orgname;
        }

        public String getPhotoPath() {
            return photoPath;
        }

        public void setPhotoPath(String photoPath) {
            this.photoPath = photoPath;
        }

        public String getComment() {
            return comment;
        }

        public void setComment(String comment) {
            this.comment = comment;
        }

        public int getStatus() {
            return status;
        }

        public void setStatus(int status) {
            this.status = status;
        }

        public String getTaType() {
            return taType;
        }

        public void setTaType(String taType) {
            this.taType = taType;
        }

        public String getTaTypedescp() {
            return taTypedescp;
        }

        public void setTaTypedescp(String taTypedescp) {
            this.taTypedescp = taTypedescp;
        }

        public long getSalerAcct() {
            return salerAcct;
        }

        public void setSalerAcct(long salerAcct) {
            this.salerAcct = salerAcct;
        }

        public String getSalername() {
            return salername;
        }

        public void setSalername(String salername) {
            this.salername = salername;
        }

        public int getImportance() {
            return importance;
        }

        public void setImportance(int importance) {
            this.importance = importance;
        }

        public String getIndustryType() {
            return industryType;
        }

        public void setIndustryType(String industryType) {
            this.industryType = industryType;
        }

        public String getIndustrydescp() {
            return industrydescp;
        }

        public void setIndustrydescp(String industrydescp) {
            this.industrydescp = industrydescp;
        }

        public String getMarketCode() {
            return marketCode;
        }

        public void setMarketCode(String marketCode) {
            this.marketCode = marketCode;
        }

        public String getMarketdescp() {
            return marketdescp;
        }

        public void setMarketdescp(String marketdescp) {
            this.marketdescp = marketdescp;
        }

        public String getArea() {
            return area;
        }

        public void setArea(String area) {
            this.area = area;
        }

        public String getAreadescp() {
            return areadescp;
        }

        public void setAreadescp(String areadescp) {
            this.areadescp = areadescp;
        }

        public String getNation() {
            return nation;
        }

        public void setNation(String nation) {
            this.nation = nation;
        }

        public String getNationdescp() {
            return nationdescp;
        }

        public void setNationdescp(String nationdescp) {
            this.nationdescp = nationdescp;
        }

        public int getGrpTaAcct() {
            return grpTaAcct;
        }

        public void setGrpTaAcct(int grpTaAcct) {
            this.grpTaAcct = grpTaAcct;
        }

        public int getArAcct() {
            return arAcct;
        }

        public void setArAcct(int arAcct) {
            this.arAcct = arAcct;
        }

        public String getArAcctdescp() {
            return arAcctdescp;
        }

        public void setArAcctdescp(String arAcctdescp) {
            this.arAcctdescp = arAcctdescp;
        }

        public int getGrpTxToAr() {
            return grpTxToAr;
        }

        public void setGrpTxToAr(int grpTxToAr) {
            this.grpTxToAr = grpTxToAr;
        }

        public int getGstTxToAr() {
            return gstTxToAr;
        }

        public void setGstTxToAr(int gstTxToAr) {
            this.gstTxToAr = gstTxToAr;
        }

        public String getRateCode() {
            return rateCode;
        }

        public void setRateCode(String rateCode) {
            this.rateCode = rateCode;
        }

        public String getRateCodedescp() {
            return rateCodedescp;
        }

        public void setRateCodedescp(String rateCodedescp) {
            this.rateCodedescp = rateCodedescp;
        }

        public String getPayment() {
            return payment;
        }

        public void setPayment(String payment) {
            this.payment = payment;
        }
    }
}
